U_CAPI int32_t unum_formatDouble ( const UNumberFormat* fmt, double number, UChar* result, int32_t resultLength, UFieldPosition *pos, UErrorCode* status)

Format a double using a UNumberFormat

Documentation

Format a double using a UNumberFormat. The double will be formatted according to the UNumberFormat's locale.
Returns:
The total buffer size needed; if greater than resultLength, the output was truncated.
Parameters:
fmt - The formatter to use.
number - The number to format.
result - A pointer to a buffer to receive the formatted number.
resultLength - The maximum size of result.
pos - If not 0, a UFieldPosition which will receive the information on a specific field.
status - A pointer to an UErrorCode to receive any errors
See Also:
unum_format
unum_parse
unum_parseDouble

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de